package com.lpwa.system.domain;

import com.lpwa.common.annotation.Excel;
import com.lpwa.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 基站管理对象 sys_locator
 * 
 * @author ruoyi
 * @date 2020-11-20
 */
public class SysLocator extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 基站ID */
    @Excel(name = "基站ID")
    private String locatorId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String locatorName;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private Long modelId;

    /** 坐标 */
    @Excel(name = "坐标")
    private String coordinate;

    /** 指向坐标 */
    @Excel(name = "指向坐标")
    private String toCoordinate;

    /** 所属组织 */
    private Long deptId;

    /** 高度 */
    @Excel(name = "高度")
    private BigDecimal height;

    /** 楼层 */
    @Excel(name = "楼层")
    private Integer fnum;

    /** 在线情况 */
    @Excel(name = "在线情况")
    private Integer isOnline;

    /** 是否使用 */
    @Excel(name = "是否使用")
    private Integer isUse;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLocatorId(String locatorId) 
    {
        this.locatorId = locatorId;
    }

    public String getLocatorId() 
    {
        return locatorId;
    }
    public void setLocatorName(String locatorName) 
    {
        this.locatorName = locatorName;
    }

    public String getLocatorName() 
    {
        return locatorName;
    }
    public void setModelId(Long modelId) 
    {
        this.modelId = modelId;
    }

    public Long getModelId() 
    {
        return modelId;
    }
    public void setCoordinate(String coordinate) 
    {
        this.coordinate = coordinate;
    }

    public String getCoordinate() 
    {
        return coordinate;
    }
    public void setToCoordinate(String toCoordinate) 
    {
        this.toCoordinate = toCoordinate;
    }

    public String getToCoordinate() 
    {
        return toCoordinate;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setHeight(BigDecimal height) 
    {
        this.height = height;
    }

    public BigDecimal getHeight() 
    {
        return height;
    }
    public void setFnum(Integer fnum) 
    {
        this.fnum = fnum;
    }

    public Integer getFnum() 
    {
        return fnum;
    }
    public void setIsOnline(Integer isOnline) 
    {
        this.isOnline = isOnline;
    }

    public Integer getIsOnline() 
    {
        return isOnline;
    }
    public void setIsUse(Integer isUse) 
    {
        this.isUse = isUse;
    }

    public Integer getIsUse() 
    {
        return isUse;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("locatorId", getLocatorId())
            .append("locatorName", getLocatorName())
            .append("modelId", getModelId())
            .append("coordinate", getCoordinate())
            .append("toCoordinate", getToCoordinate())
            .append("deptId", getDeptId())
            .append("height", getHeight())
            .append("fnum", getFnum())
            .append("isOnline", getIsOnline())
            .append("createBy", getCreateBy())
            .append("isUse", getIsUse())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
